package com.cn.gmall.list.repository;

import com.cn.gmall.model.list.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
/**
 * ElasticsearchRepository实例化 的时候会创建一个数据库
 */
public interface GoodsRepository extends ElasticsearchRepository<Goods,Long> {
}
